@mixin flex($n:1){
    -webkit-flex: $n !important;
    -moz-flex: $n !important;
    -ms-flex: $n !important;
    -o-flex: $n !important;
    flex: $n !important;
}

@mixin animation($name,$time:1,$type:linear,$n:infinite,$d:0){
    -webkit-animation: $name $time+s $type $n $d+s;
    -moz-animation: $name $time+s $type $n $d+s;
    -ms-animation: $name $time+s $type $n $d+s;
    -moz-animation:  $name $time+s $type $n $d+s;
    animation:  $name $time+s $type $n $d+s;
}

